package com.xiaopan.business.blog.service;

import com.xiaopan.business.blog.bean.SystemMenu;
import com.xiaopan.business.blog.dao.mapper.UserMapper;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.util.*;

@Service
public class CoreUserService {

    @Autowired(required = false)
    UserMapper userMapper;

    private static final transient Logger LG = Logger.getLogger(CoreUserService.class);


    public List<SystemMenu> selectMenus(){
        List<SystemMenu> systemMenus = userMapper.selectMenus();
        return systemMenus;
    }



}
